import Mock from 'mockjs'
Mock.mock('/api/video/index',{
    code:'200',
    msg:'请求成功',
    'data|2-5':[
        {
            "id|1000-10000":1000,
            "author":"@cname",
            "title|1":['飞来的横祸','一棵小草莓','困困的我'],
            "icon|1":[
                "http://m.imeitou.com/uploads/allimg/2021040716/yr4vvkcisin.jpg",
                "http://m.imeitou.com/uploads/allimg/2021040716/yr4vvkcisin.jpg",
                "https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1812993978,4158651947&fm=26&gp=0.jpg",
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/7c968d38-e7c1-46ea-a209-d91fd434a841.jpg"
            ],
            "video_url|1":[
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/c831ecb6-23e7-413d-87aa-e53d1edb8db2.mp4",
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/6f60b3f2-e17d-4122-b9aa-fba746289f3c.png"
            ],
            "cover_url|1":[
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/6f60b3f2-e17d-4122-b9aa-fba746289f3c.png",
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/30dad425-8974-444d-9263-d9639ca9bf1f.jpeg"
            ]
        }

    ]
})
Mock.mock('/api/pictures/index',{
    code:'200',
    msg:'请求成功',
    'data|2-5':[
        {
            "id|1000-10000":1000,
            "name":"@cname",
            "title|1":['飞来的横祸','哈哈笑死我了','简直神了','什么情况'],
            "icon|1":[
                "http://m.imeitou.com/uploads/allimg/2021040716/nvbz5s3rabh.jpg",
                "http://m.imeitou.com/uploads/allimg/2021040716/yr4vvkcisin.jpg",
                "https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1812993978,4158651947&fm=26&gp=0.jpg",
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/7c968d38-e7c1-46ea-a209-d91fd434a841.jpg"
            ],
           "picture|1":[
               "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/777c2f14-756b-4ff1-9fc2-bf0cfa613056.jpg",
               "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/6193b151-74f3-463c-9067-68d5e798701a.jpg",
               "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/cec4401e-3755-4c8f-99f8-2a96721c1e04.jpg",
               "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/d8d4c5f2-fcd7-4334-9e94-ccd9104b20bc.jpg",
           ]
        }

    ]
})

Mock.mock('/api/article/index',{
    code:'200',
    msg:'请求成功',
    'data|3-5':[
        {
            "id|1000-10000":1000,
            "author":"@cname",
            "content|1":[
                "八戒不要以为你站在灯塔下就是夜明猪了。",
                '早上赶公共汽车，到站台的时候，汽车已经启动了。于是你只好边追边喊：“师傅，等等我!师傅，等等我呀!"这时一乘客从车窗探出头来冲你说了一句：“悟空，你就别追了。"',
                '简直神了当代青年主要运动项目：取快递、取外卖！',
                '步入社会后，我才发现，我拼不了爹妈，只能拼多多。',
                "秀恩爱的人换了一波儿又一波儿，只有我，雷打不动地单身。"
            ],
            "icon|1":[
                "http://m.imeitou.com/uploads/allimg/2021040716/nvbz5s3rabh.jpg",
                "http://m.imeitou.com/uploads/allimg/2021040716/yr4vvkcisin.jpg",
                "https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1812993978,4158651947&fm=26&gp=0.jpg",
                "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-15a29732-5b04-46d4-9295-f64cf3846386/7c968d38-e7c1-46ea-a209-d91fd434a841.jpg"
                
            ],
        }

    ]
})


let users=[];
for(let index =0;index<6;index++){
    users.push(
        {
            "id|1000-10000":1000,
            "name":"@cname",
            "type|1":["小母牛歇后语","马牛逼语录","屌龙","鸡煲","晨勃"],
           
        }
    )
}
Mock.mock('/api/fenlei/index',{
    code:'200',
    msg:'请求成功',
    'data':users,
})
